<?xml version="1.0" encoding="ISO-8859-1" ?> 
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:p="http://primefaces.org/ui" 
	  xmlns:c="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
	  
	<h:head>
		<title>Mobile</title>
	</h:head>
	
	<h:body>
		<h:form >
			<p:panel>
				<h:panelGrid columns="3" >
					<h:outputLabel value="#{lang.getTrans('ui.mobile.user.login')}" for="userField"/>
					<p:inputText id="userField" value="#{authenticationBeans.login}"/>
					<h:message for="userField" />
				
					<h:outputLabel value="#{lang.getTrans('ui.mobile.user.password')}" for="passwordField"/>
					<p:password  id="userPassword" value="#{authenticationBeans.password}"/>
					<h:message for="passwordField" />
				
					<p:commandButton value="#{lang.getTrans('ui.mobile.common.send')}" action="#{authenticationBeans.authenticates}"/>
					
				</h:panelGrid>
			
			
			
			</p:panel>
		</h:form>
	</h:body>
	
</html>